/*
 * @Description: 
 * @Date: 2020-12-07 10:50:53
 * @LastEditors: lother
 * @LastEditTime: 2021-01-11 14:43:16
 * @FilePath: \AccountOpening-H5\src\main.js
 */
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

Vue.config.productionTip = false;
import $ from "jquery"
window.$ = $
import {
  NavBar,
  NumberKeyboard,
  Popup,
  Picker,
  Field,
  CellGroup,
  CountDown,
  Button,
  Icon,
  Overlay,
  Dialog,
  Uploader,
  Loading,
  Form,
  DatetimePicker,
  Radio,
  RadioGroup,
  Cell,
  Checkbox,
  CheckboxGroup ,
  Toast,
  Collapse,
  CollapseItem,
  Skeleton ,
  Search 

  // Locale
} from 'vant';



Vue.use(NavBar);
Vue.use(NumberKeyboard);
Vue.use(Popup);
Vue.use(Picker);
Vue.use(Field);
Vue.use(CellGroup);
Vue.use(CountDown);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Overlay);
Vue.use(Dialog);
Vue.use(Uploader);
Vue.use(Loading);
Vue.use(Form);
Vue.use(DatetimePicker);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Cell);
Vue.use(Checkbox);
Vue.use(CheckboxGroup); 
Vue.use(Toast);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Skeleton);
Vue.use(Search);
import common from '@/assets/js/common'
Vue.use(common);
Form.props.validateFirst.default = true // 
Form.props.validateTrigger.default = 'onBlur' //  

import header from '@/components/header';
import nextStep from '@/components/nextStep';
Vue.component("l-header", header)
Vue.component("next-step", nextStep)

import index from '@/components/index'
Vue.use(index)
import '@/assets/css/reset.css'


import i18n from "@/locales"
import {Local} from "@/locales/vantLocale.js";
Vue.prototype.$Local = Local;

new Vue({
  router,
  store,
  i18n,
  render: (h) => h(App),
}).$mount('#app');
